package com.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.entity.MaterialQuestion;

import java.util.List;

public interface MaterialQuestionService {
    List<MaterialQuestion> findByIdAndType(Integer paperId);

    IPage<MaterialQuestion> findAll(Page<MaterialQuestion> page);

    MaterialQuestion findOnlyQuestionId();

    int add(MaterialQuestion fillQuestion);

    List<Integer> findBySubject(String subject,Integer pageNo);
}
